let marbleRaceLevel2_49 = {
	name: 'Game 2 Level 49',
	id: '2_49',
	type: 'elimination',
	eliminated: 1,
	objects: [
		// Portals
		{
			type: 'object',
			shape: 'rect',
			color: '@a',
			toPortal: 'a',
			x: 80+65,
			y: 540 - 10,
			width: 130,
			height: 20
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@b',
			toPortal: 'b',
			x: 80+130+65+25,
			y: 540 - 10,
			width: 180,
			height: 20
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@c',
			toPortal: 'c',
			x: 80+260+65+50,
			y: 540 - 10,
			width: 130,
			height: 20
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@goal',
			toPortal: 'goal',
			isGoal: true,
			x: 80+390+65+25,
			y: 540 - 10,
			width: 80,
			height: 20
		},
		{
			type: 'object',
			shape: 'circle',
			color: '@a',
			portalID: 'a',
			x: 125,
			y: 80,
			radius: 5
		},
		{
			type: 'object',
			shape: 'circle',
			color: '@b',
			portalID: 'b',
			x: 295,
			y: 80,
			radius: 5
		},
		{
			type: 'object',
			shape: 'circle',
			color: '@c',
			portalID: 'c',
			x: 465,
			y: 80,
			radius: 5
		},

		// Goal portal
		{
			type: 'object',
			shape: 'circle',
			color: '@goal',
			portalID: 'goal',
			x: 700,
			y: 80,
			radius: 5
		},

		// Obstacles
		{
			type: 'object',
			shape: 'rect',
			color: '@secondary',
			x: 255,
			y: 300,
			width: 5,
			height:600
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@secondary',
			x: 680-255,
			y: 300,
			width: 5,
			height:600
		},
		/*
		{
			type: 'object',
			shape: 'rect',
			color: '@c',
			toPortal: 'c',
			x: 80,
			y: 300,
			width: 20,
			height: 600
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@b',
			toPortal: 'b',
			x: 280,
			y: 300,
			width: 10,
			height: 600
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@a',
			toPortal: 'a',
			x: 400,
			y: 300,
			width: 10,
			height: 600
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@c',
			toPortal: 'c',
			x: 600,
			y: 300,
			width: 20,
			height: 600
		},*/

		// Borders
		{
			type: 'object',
			shape: 'rect',
			color: '@tertiary',
			x: 400,
			y: 0,
			width: 800,
			height: 120
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@tertiary',
			x: 400,
			y: 600,
			width: 800,
			height: 120
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@tertiary',
			x: 0,
			y: 300,
			width: 160,
			height: 600
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@tertiary',
			x: 800,
			y: 300,
			width: 160,
			height: 600
		},
		{
			type: 'object',
			shape: 'rect',
			color: '@tertiary',
			x: 640,
			y: 300,
			width: 80,
			height: 600
		},

		// Marbles
		{
			type: 'marbles',
			x: 120,
			y: 80,
			launchTime: 3,
			launchRadius: 75,
			passX: 700,
			passY: 80,
			radius: 8,
			eliminatedRadius: 6,
			velocity: 5
		},
	]
}
{
	let cntI = 15
	for (let i = 0; i <= cntI; ++i) {
		let cntJ =3 + (i % 2)
		for (let j = 0; j <= cntJ; ++j)
			marbleRaceLevel2_49.objects.push({
				type: 'object',
				shape: 'circle',
				color: '@secondary',
				x: 170 + (j - cntJ * .5) * 30,
				y: 300 + (i - cntI * .5) * 20,
				radius: 3
			})
	}
}
{
	let cntI = 15
	for (let i = 0; i <= cntI; ++i) {
		let cntJ = 3 + (i % 2)
		for (let j = 0; j <= cntJ; ++j)
			marbleRaceLevel2_49.objects.push({
				type: 'object',
				shape: 'circle',
				color: '@secondary',
				x: 340 + (j - cntJ * .5) * 30,
				y: 300 + (i - cntI * .5) * 20,
				radius: 3
			})
	}
}
{
	let cntI = 15
	for (let i = 0; i <= cntI; ++i) {
		let cntJ = 3 + (i % 2)
		for (let j = 0; j <= cntJ; ++j)
			marbleRaceLevel2_49.objects.push({
				type: 'object',
				shape: 'circle',
				color: '@secondary',
				x: 510 + (j - cntJ * .5) * 30,
				y: 300 + (i - cntI * .5) * 20,
				radius: 3
			})
	}
}
marbleRaceLevels.push(marbleRaceLevel2_49)